﻿using J.CustomerModel;
using Microsoft.EntityFrameworkCore;

namespace J.Repository
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) : base(options)
        {
        }
        /// <summary>
        /// 客户表
        /// </summary>
        public virtual DbSet<CustomerList> CustomerList { get; set; }
        /// <summary>
        /// 会员卡表
        /// </summary>
        public virtual DbSet<MemberCard> MemberCard { get; set; }
    }
}